#include "serial.h"
#include <stdio.h>
#include "stm32f10x_plm.h"
//extern USART_NTWFlag_t uFlag;
extern uint8_t uFrame_Arrived(void);
extern void clear_RXOK(void);
int main(void)
{
	USART_Configuration();
	printf("connected!!!\r\n");
	while(1)
		{
			//printf("hello world!!\r\n");
			if(uFrame_Arrived())
			{
				printf("end of transmision");
				clear_RXOK();
			}
		}
}
